/*常见问题区逻辑代码
------------------------------------------------------------------------------*/
var right02ContentBgDiv = document.querySelectorAll(".right02-content-bg>div");
var oTitleBtnGroupA = document.querySelectorAll(".title-btn-group a");


for (var i = 0;i < oTitleBtnGroupA.length;i ++) {
    oTitleBtnGroupA[i].index = i;
    oTitleBtnGroupA[i].onclick = function name(params) {

        for (var i = 0;i < oTitleBtnGroupA.length;i ++) {
            oTitleBtnGroupA[i].style.color = "#5f5f5f";
        }
        this.style.color = "#e8380d";


        for (var i = 0;i < right02ContentBgDiv.length;i ++) {
            right02ContentBgDiv[i].style.display = "none";
        }

        right02ContentBgDiv[this.index].style.display = "block";
    }
}